package com.oa.ylms.apps.business.assess;

import java.util.List;

import com.oa.ylms.apps.entity.assess.AssessModelValue;

public interface IAssessModelService {
	
	public int addAssessModel (String modelName, String itemIds) throws Exception;
	
	public String deleteAssessModel(String modelIds) throws Exception;
	
	public List<AssessModelValue> queryAssessModelWithPage(String modelName, int rows ,int pageNo) throws Exception;
	
	public AssessModelValue queryAssessModelByModelId(int modelId) throws Exception;
	
	public List<AssessModelValue> queryByModelName(AssessModelValue assessModel) throws Exception;

	public boolean deleteAssessModel(int modelid) throws Exception;
	
	public boolean deleteAssessItemInAssessModel(int itemId, int modelId) throws Exception;
	
	public int countTpages(String modelName, int rows) throws Exception;
	
	public int getTotalNumber() throws Exception;
	
	public List<AssessModelValue> queryAllAssessModel() throws Exception;
	
	public boolean toEnable(int modelId) throws Exception;
	
	public boolean toDisable(int modelId) throws Exception;
}
